<?php


namespace app\index\model;


use think\Model;

class Action extends Model
{
    /**
     * getActionList
     * 获取操作列表
     * @url
     * @method
     * @return array
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     * @author Asira
     * @date 2021/1/25
     */
    public static function getActionList(): array
    {
        $Action=new self();
        $list=$Action->where('del_flag',0)->field('id,action_desc')->select()->toArray();
        return $list;
    }
}